home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / vidhandl / readme.txt < prev    next >
Encoding:
Text File  |  1999-02-03  |  3.3 KB  |  65 lines

  1. INFORMATION FOR EXTRACTING SOURCE CODE FROM VIDEO.SRC AND COMPILING THEM INTO
  2. LIBRARIES, AND ALSO SOME INFORMATION ABOUT THE LIBRARIES IN LIB\ SUBDIR.
  3.  
  4. This subdirectory contains:
  5.  
  6.  - EXTRAIA.EXE  => Utility to ungroup source code files grouped in VIDEO.SRC
  7.                    Documentation about EXTRAIA is found in UTIL\EXTRAIA.TXT
  8.  - VIDEO.SRC    => Archive that holds all source code files and some batch
  9.                    files (an ASCII file, editable by any text editor)
  10.  - README.TXT   => This file
  11.  - VIDEO.PRJ    => Project file to compile functions with Turbo C IDE
  12.  - VIDEO.DSK    => Desktop configurations for VIDEO.PRJ
  13.  
  14. To extract source code files and batch files from VIDEO.SRC use:
  15.   EXTRAIA VIDEO
  16.  
  17. The line above will ungroup all .C and .H source code files and plus the
  18. following files:
  19.  - COMPILE.BAT  => compiles all .C files and assembles a library, you must
  20.                    specify the memory model (s,m,c,l,h). Used by ASMLIBS
  21.  - ASMLIBS.BAT  => compiles all .C files in small, medium, compact, large and
  22.                    huge memory models.
  23.  - VIDEOLIB.DAT => used by compile.bat, list of all modules to be added to
  24.                    libraries
  25.  
  26. To compile the source code and assemble them in libraries use: 
  27.  (after extracting files from VIDEO.SRC with EXTRAIA)
  28.   ASMLIBS [options]      => to compile in small,medium,compact,large and huge
  29.                             memory models (designed for TC/TC++)
  30.     or
  31.   COMPILE <model> [options]  => to compile only in <model> memory model
  32.                                 (s,m,c,l,h) (designed for TC/TC++)
  33.   [options] is TCC options
  34.   These batch files have been created for Turbo C 3.0, so if your compiler is
  35. another, probably you will have to edit COMPILE.BAT
  36.   COMPILE.BAT and ASMLIBS assume that TLIB and TCC are in the path.
  37.   After being executed these batch files will create .LIB files, that can
  38. replace the existing files in LIB subdirectory.
  39.   You may also try to compile with VIDEO.PRJ in Turbo C++ 3.0 (or better/
  40. compatible) IDE. (creates VIDEO.LIB in small memory model, but you can choose
  41. another memory model in menu Options/Compiler/Code Generation.) 
  42.  
  43. SOME WORDS ABOUT THE LIBRARY FILES STORED IN LIB\ SUBDIRECTORY
  44.  
  45.    Oddly to lib files that you create using ASMLIBS.BAT, the libraries stored
  46.  in LIB\ subdir have been compiled with the IDE (Turbo C++ 3.0) using
  47.  VIDEO.PRJ.
  48.    For each library, first I've deleted all .OBJ files (to prevent the library
  49.  from getting some functions in one memory model and other functions in other
  50.  memory models), then I've chosen a memory model and I've compiled the
  51.  functions. The IDE has created then a file named VIDEO.LIB which I've
  52.  renamed to VIDEO?.LIB, where ? is the first letter of the memory model.
  53.    After repeating this procedure for Small, Medium, Compact, Large and Huge
  54.  memory models, I've moved all libraries to LIB\
  55.  
  56.    To choose a memory model in the IDE, go to menu
  57.  Options|Compiler|Code generation.
  58.  
  59.    To produce smaller code and smaller library files, the options
  60.  SUPRESS REDUNDANT LOADS (-Z in TCC) and JUMP OPTIMIZATION (-O in TCC)
  61.  have been switched on. All comment records and debug information have been
  62.  purged.
  63.    To increase linking speed with these libraries, each one has a extended
  64.  dictionary.
  65.    The compiler was Turbo C++ 3.0 IDE.